home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
tab100
/
form2.frm
< prev
next >
Wrap
Text File
|
1995-09-06
|
2KB
|
80 lines
VERSION 2.00
Begin Form Form2
BackColor = &H0000C000&
Caption = "Select Option"
ClientHeight = 2790
ClientLeft = 1410
ClientTop = 2955
ClientWidth = 3870
Height = 3195
Left = 1350
LinkMode = 1 'Source
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2790
ScaleWidth = 3870
Top = 2610
Width = 3990
Begin CommandButton Help
Caption = "Help"
Height = 495
Left = 2760
TabIndex = 3
Top = 2160
Width = 615
End
Begin CommandButton Cancel
Caption = "Cancel"
Height = 495
Left = 1440
TabIndex = 2
Top = 2160
Width = 975
End
Begin CommandButton Ok
Caption = "Ok"
Default = -1 'True
Height = 495
Left = 480
TabIndex = 1
Top = 2160
Width = 615
End
Begin ListBox List1
Height = 1005
Left = 480
TabIndex = 0
Top = 960
Width = 2895
End
Begin Label Label1
BackColor = &H0000FFFF&
Caption = "More Than One Combinations of Cards Match your Card's Value Please Pick One ?"
Height = 615
Left = 480
TabIndex = 4
Top = 120
Width = 2895
End
End
Sub Cancel_Click ()
Form1.OptionSelected.Caption = "0"
Unload Form2
End Sub
Sub Help_Click ()
MsgBox ("Select 1 Option and Press Ok")
End Sub
Sub Ok_Click ()
If List1.ListIndex = -1 Then
MsgBox ("No Option selected, Please Try Again")
Else
OptionSelected = (List1.ListIndex + 1)
Unload Form2
End If
End Sub